package com.hkyl.hospital.mapper;

import com.hkyl.hospital.entity.PatientMedicine;
import com.hkyl.hospital.entity.PatientMedicineExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatientMedicineMapper {
    int countByExample(PatientMedicineExample example);

    int deleteByExample(PatientMedicineExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PatientMedicine record);

    int insertSelective(PatientMedicine record);

    List<PatientMedicine> selectByExample(PatientMedicineExample example);

    PatientMedicine selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PatientMedicine record, @Param("example") PatientMedicineExample example);

    int updateByExample(@Param("record") PatientMedicine record, @Param("example") PatientMedicineExample example);

    int updateByPrimaryKeySelective(PatientMedicine record);

    int updateByPrimaryKey(PatientMedicine record);
}